<?php

defined('YII_DEBUG') or define('YII_DEBUG', true);
defined('YII_ENV') or define('YII_ENV', 'dev');

require(__DIR__ . '/../common/framework/Yii.php');

$baseConfig = require(__DIR__ . '/../common/base/config/config.php');

$config = yii\helpers\ArrayHelper::merge(
	$baseConfig,
	require Yii::getAlias('@' . getModuleByDomain() . '/config/config.php')
);

(new yii\web\Application($config))->run();